package com.bean.keeper;

import com.bean.Animal;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;

/**
 * @author Cc
 * 2024-04-06
 */
public abstract class Keeper<A extends Animal> {
    private ArrayList<A> animal = new ArrayList<>();

    /**
     * 喂养
     *
     * @throws NoSuchMethodException     没有这样方法例外
     * @throws InvocationTargetException 调用目标异常
     * @throws IllegalAccessException    非法访问例外
     */
    public void feeding() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {

    }

    /**
     * 检查
     */
    public void inspection() {

    }

    /**
     * 体检
     */
    public void physicalExamination() {

    }
}
